<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>梦之泪伤我们喜欢你</title>
    <link rel="icon" href="https://i0.hdslb.com/bfs/archive/b9255ec94a2bba21b1a7562de729132d18a0a1d2.jpg">
</head>

<body>
    <header>
        <h1 style="color:blue;">欢迎来到我的网站</h1>
    <h2>请点击👇</h2>
    <section>
        <!-- 实现按钮 -->
        <div id="imageContainer"></div>

        <div class="box">
         <p></p>
         <button id="clickBtn">👉🙂👈</button>
        </div>
        <img src="https://i1.hdslb.com/bfs/archive/3a187fdb943ea75904afddb610b499bf4136f16c.jpg" width="200" height="150" >
    </section>

    <footer>
        <p>版权所有 &copy; 2025 本人</p>
    <!-- 按钮功能脚本 -->
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            const button = document.getElementById('clickBtn');
            let clickCount = 0;
        
            button.addEventListener('click', function() {
                clickCount++;
                if (clickCount === 1) {
                    alert('坚持就是胜利！');
                }
                else if (clickCount === 10) {
                    document.getElementById('imageContainer').innerHTML='<img src="https://ts1.tc.mm.bing.net/th/id/OIP-C.wij05njcutyNLiNVQZw3wQHaHg?cb=12&rs=1&pid=ImgDetMain&o=7&rm=3">';
                }
            });
        });
    </script>
</body>
</html>